# -*- coding:utf-8 -*-

arr = []


def sum(arr):
    if len(arr) == 0:
        return 0
    else:
        first_arr = arr.pop(0)
        return first_arr+sum(arr)


print(sum(arr))